package org.come.control;

import org.come.action.FromServerAction;
import org.come.entity.RoleSummoning;
import org.come.mouslisten.ChosePetLxMouslisten;
import org.come.until.GsonUtil;
import org.skill.frame.LXiulianMainFrame;

public class LxControl implements FromServerAction {

    

    @Override
    public void controlMessFromServer(String mes, String type) {
        RoleSummoning pet = GsonUtil.getGsonUtil().getgson().fromJson(mes, RoleSummoning.class);
        // 刷新修炼面板
        LXiulianMainFrame.getLXiulianMainFrame().getLXiulianMainPanel().panelGetData(pet);
        // 刷新灵犀面板
        ChosePetLxMouslisten.refreshPetSkills();
    }

}
